﻿<html>
<head>
    <link rel="alternate" type="text/xml" href="http://localhost/myservice1?disco" />
    <style type="text/css">
        #content
        {
            font-size: 0.7em;
            padding-bottom: 2em;
            margin-left: 30px;
        }
        BODY
        {
            margin-top: 0px;
            margin-left: 0px;
            color: #000000;
            font-family: Verdana;
            background-color: white;
        }
        P
        {
            margin-top: 0px;
            margin-bottom: 12px;
            color: #000000;
            font-family: Verdana;
        }
        PRE
        {
            border-right: #f0f0e0 1px solid;
            padding-right: 5px;
            border-top: #f0f0e0 1px solid;
            margin-top: -5px;
            padding-left: 5px;
            font-size: 1.2em;
            padding-bottom: 5px;
            border-left: #f0f0e0 1px solid;
            padding-top: 5px;
            border-bottom: #f0f0e0 1px solid;
            font-family: Courier New;
            background-color: #e5e5cc;
        }
        .heading1
        {
            margin-top: 0px;
            padding-left: 15px;
            font-weight: normal;
            font-size: 26px;
            margin-bottom: 0px;
            padding-bottom: 3px;
            margin-left: -30px;
            width: 100%;
            color: #ffffff;
            padding-top: 10px;
            font-family: Tahoma;
            background-color: green;
        }
        .intro
        {
            margin-left: -15px;
        }
    </style>
    <title>Home Framework</title>
</head>
<body>
    <div id="content">
        <p class="heading1">{0}</p>
        <br />
        <p class="intro">
            You have created a service.<p class='intro'>
                To test this service, you will need to create a client and use it to call the service.
                You can do this using the svcutil.exe tool from the command line with the following
                syntax:</p>
            <br />
            <pre>svcutil.exe <a href="{1}">{1}</a></pre>
        </p>
        <p class="intro" />
        This will generate a configuration file and a code file that contains the client
        class. Add the two files to your client application and use the generated client
        class to call the Service. For example:<br />
        <p class='intro'>
            <b>C#</b></p>
        <pre><font color="blue">class </font><font color="teal">Test </font>{
                                    <font color="blue">static void </font>Main()
                                        {
                                            <font color="teal">MyServiceClient</font> client = <font color="blue">new
</font><font color="teal">MyServiceClient</font>();
 
                                    <font color="green"> // Use the 'client' variable to call operations on the service.
                                    </font><font color="green">// Always close the client. </font>        client.Close();
                                        }
                                    }
                                    </pre>
        <br />
        <p class='intro'>
            <b>Visual Basic</b></p>
        <pre><font color="blue">Class </font><font color="teal">Test </font><font color="blue">
            Shared Sub </font>Main()
                                    <font color="blue">Dim </font>client As <font color="teal">MyServiceClient</font> = <font
                                        color="blue">New </font><font color="teal">MyServiceClient</font>()
                                    <font color="green"> ' Use the 'client' variable to call operations on the service.
                                    </font><font color="green">' Always close the client. </font>        client.Close()
                                    <font color="blue">End Sub </font><font color="blue">End Class</font></pre>
    </div>
</body>
</html>
